package ai.people.netmon.framework.annotation;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

/**
 * 换行符转换
 *
 * @author yuanqinglong
 * @date 2022/4/29 10:28
 */
@Target({ElementType.FIELD, ElementType.TYPE})
@Retention(RetentionPolicy.RUNTIME)
public @interface SymbolConversion {

    /**
     * 原始值
     *
     * @return {@link String}
     */
    String value() default "\n";

    /**
     * 转换值
     *
     * @return {@link String}
     */
    String conversion() default "<br>";
}
